
package com.mu.rai.services;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for dosProtocol complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="dosProtocol">
 *   &lt;complexContent>
 *     &lt;extension base="{http://services.rai.mu.com}namedModelObject">
 *       &lt;sequence>
 *         &lt;element name="dst_mac" type="{http://services.rai.mu.com}macDstAddress"/>
 *         &lt;choice minOccurs="0">
 *           &lt;element name="ascii_payload" type="{http://services.rai.mu.com}asciiPayload"/>
 *           &lt;element name="binary_payload" type="{http://services.rai.mu.com}binaryPayload"/>
 *         &lt;/choice>
 *         &lt;element name="src_mac" type="{http://services.rai.mu.com}macSrcAddress"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "dosProtocol", propOrder = {
    "dstMac",
    "asciiPayload",
    "binaryPayload",
    "srcMac"
})
@XmlSeeAlso({
    Layer2DosProtocol.class,
    UdpDosProtocol.class,
    TcpDosProtocol.class,
    IpDosProtocol.class
})
public abstract class DosProtocol
    extends NamedModelObject
{

    @XmlElement(name = "dst_mac", required = true)
    protected MacDstAddress dstMac;
    @XmlElement(name = "ascii_payload")
    protected AsciiPayload asciiPayload;
    @XmlElement(name = "binary_payload")
    protected BinaryPayload binaryPayload;
    @XmlElement(name = "src_mac", required = true)
    protected MacSrcAddress srcMac;

    /**
     * Gets the value of the dstMac property.
     * 
     * @return
     *     possible object is
     *     {@link MacDstAddress }
     *     
     */
    public MacDstAddress getDstMac() {
        return dstMac;
    }

    /**
     * Sets the value of the dstMac property.
     * 
     * @param value
     *     allowed object is
     *     {@link MacDstAddress }
     *     
     */
    public void setDstMac(MacDstAddress value) {
        this.dstMac = value;
    }

    /**
     * Gets the value of the asciiPayload property.
     * 
     * @return
     *     possible object is
     *     {@link AsciiPayload }
     *     
     */
    public AsciiPayload getAsciiPayload() {
        return asciiPayload;
    }

    /**
     * Sets the value of the asciiPayload property.
     * 
     * @param value
     *     allowed object is
     *     {@link AsciiPayload }
     *     
     */
    public void setAsciiPayload(AsciiPayload value) {
        this.asciiPayload = value;
    }

    /**
     * Gets the value of the binaryPayload property.
     * 
     * @return
     *     possible object is
     *     {@link BinaryPayload }
     *     
     */
    public BinaryPayload getBinaryPayload() {
        return binaryPayload;
    }

    /**
     * Sets the value of the binaryPayload property.
     * 
     * @param value
     *     allowed object is
     *     {@link BinaryPayload }
     *     
     */
    public void setBinaryPayload(BinaryPayload value) {
        this.binaryPayload = value;
    }

    /**
     * Gets the value of the srcMac property.
     * 
     * @return
     *     possible object is
     *     {@link MacSrcAddress }
     *     
     */
    public MacSrcAddress getSrcMac() {
        return srcMac;
    }

    /**
     * Sets the value of the srcMac property.
     * 
     * @param value
     *     allowed object is
     *     {@link MacSrcAddress }
     *     
     */
    public void setSrcMac(MacSrcAddress value) {
        this.srcMac = value;
    }

}
